package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value="sm_member_video_watch_data")
@Data
@TableName(value = "sm_member_video_watch_data")
public class SmMemberVideoWatchData {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 视频ID
     */
    @TableField(value = "video_id")
    @ApiModelProperty(value="视频ID")
    private Integer videoId;

    /**
     * 观看进度
     */
    @TableField(value = "progress")
    @ApiModelProperty(value="观看进度")
    private Integer progress;

    /**
     * 用户ID
     */
    @TableField(value = "member_id")
    @ApiModelProperty(value="用户ID")
    private String memberId;

    public static final String COL_ID = "id";

    public static final String COL_VIDEO_ID = "video_id";

    public static final String COL_PROGRESS = "progress";

    public static final String COL_MEMBER_ID = "member_id";
}